<!--
 * @description: 
 * @Author: Islands
 * @Date: 2024-06-23 02:44:45
 * @LastEditTime: 2024-06-23 02:48:40
-->
<script lang="ts" setup>
import { SvgIcon } from '@/components/SvgIcon';
import { iconProps } from './props';
const { size, icon } = defineProps(iconProps);
</script>
<template>
    <svg-icon v-if="icon.startsWith('#')" :icon="icon" />
    <i v-else :class="`iconfont icon-` + icon" style="font-size: 22px" />
</template>
<style lang="scss" scoped></style>
